bitkeeper revision 1.1389.1.46 (4283631eUmC8xxb4Luie9Aq6MS5-dA)
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Thu, 12 May 2005 14:07:26 +0000 (14:07 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Thu, 12 May 2005 14:07:26 +0000 (14:07 +0000)
setup_arch_post.h, setup.c:
  Clenup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
linux-2.6.11-xen-sparse/arch/xen/i386/kernel/setup.c
linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/mach-xen/setup_arch_post.h

index f5b992ec3e2b992f59b90dadefd494ba29a78691..7ca138f378a743a25c57d6075ec541bc50f3a15b 100644 (file)
@@ -289,9 +289,9 @@ static void __init probe_roms(void)
        unsigned char *rom;
        int           i;
 
-        /* Nothing to do if not running in dom0. */
-       if ( !(xen_start_info.flags & SIF_INITDOMAIN) )
-                return;
+       /* Nothing to do if not running in dom0. */
+       if (!(xen_start_info.flags & SIF_INITDOMAIN))
+               return;
 
        /* video rom */
        upper = adapter_rom_resources[0].start;
@@ -1217,9 +1217,9 @@ static void __init register_memory(void)
        else
                legacy_init_iomem_resources(&code_resource, &data_resource);
 
-       if ( xen_start_info.flags & SIF_INITDOMAIN )
-                /* EFI systems may still have VGA */
-                request_resource(&iomem_resource, &video_ram_resource);
+       if (xen_start_info.flags & SIF_INITDOMAIN)
+               /* EFI systems may still have VGA */
+               request_resource(&iomem_resource, &video_ram_resource);
 
        /* request I/O space for devices used on all i[345]86 PCs */
        for (i = 0; i < STANDARD_IO_RESOURCES; i++)
index ac8cbb7a920bedc8065885ab5871211fbad21543..78886d339ce3a2a0a9480a5a0ce206b4b94f4ed2 100644 (file)
@@ -13,12 +13,12 @@ static char * __init machine_specific_memory_setup(void)
 
        who = "Xen";
 
-        /* In dom0, we have to start the fake e820 map above the first 1MB, in
-         * other domains, it can start at 0. */
-       if ( xen_start_info.flags & SIF_INITDOMAIN )
-                start_pfn = 0x100;
-        else
-                start_pfn = 0;
+       /* In dom0, we have to start the fake e820 map above the first
+        * 1MB, in other domains, it can start at 0. */
+       if (xen_start_info.flags & SIF_INITDOMAIN)
+               start_pfn = 0x100;
+       else
+               start_pfn = 0;
        max_pfn = xen_start_info.nr_pages;
 
        e820.nr_map = 0;